package com.googlecode.mailnet.emf.netmodel.visualization.importance;

import com.googlecode.mailnet.emf.netmodel.visualization.ModelDecorator;
import com.googlecode.mailnet.emf.netmodel.visualization.ShapeDecorator;
import com.googlecode.mailnet.info.ILinkInfo;
import com.googlecode.mailnet.info.INodeInfo;

public class ImportanceModelDecorator extends ModelDecorator {
	
	public ShapeDecorator getLinkDecorator(ILinkInfo linkInfo) {
		return new ImportanceLinkDecorator(linkInfo, context);
	}

	public ShapeDecorator getNodeDecorator(INodeInfo nodeInfo) {
		return new ImportanceNodeDecorator(nodeInfo, context);
	}

}
